package creature;

import toxi.geom.Vec2D;

public class Layout
{
	public static final int TYPE_CIRCLE = 0;
	public static final int TYPE_RECTANGLE = 1;
	
	public int type;
	
	public float[] springLengths;
	public Vec2D[] particlePositions;
	
	public Vec2D pos;
	
	public int numNodes;
	
	public Layout(int _numNodes)
	{
		numNodes = _numNodes;
		particlePositions = new Vec2D[numNodes];
		springLengths = new float[2*numNodes + numNodes / 2 + 2];
	}
}
